import PageTools from '@/components/PageTools'
// 导入excel插件
import UploadExcel from './UploadExcel'
import ImageUpload from '@/components/ImageUpload'
import ScreenFull from './ScreenFull/index.vue'
import ThemePicker from './ThemePicker'
import lang from './lang/index'
import TagsView from './TagsView/index.vue'
/**
 *  该文件负责所有的公共组件的全局注册 vue.use
*/
export default {
  install(Vue) {
    // 注册全局的通用组件对象
    Vue.component('PageTools', PageTools)
    // 注册excel全局插件
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload) // 全局注册一个图片上传的组件
    Vue.component('ScreenFull', ScreenFull)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('lang', lang)
    Vue.component('TagsView', TagsView)
  }
}

